* {
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #000;
}
.clear:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.body {
    color: #333;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, 'Microsoft Yahei', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
}

.header {
    position: relative;
    border-bottom: 1px solid #00eef3;
    background: #fff;

    .tap-bar {
        width: 100%;
    }

    .wraper {
        margin: auto;
        width: 80%;
    }

    .pull-left,
    .pull-right {
        list-style: none;
        display: flex;
        float: left;
        padding: 13px 0px;
        font-size: 14px;

    }

    .pull-left {
        li {
            padding: 0 10px;
            border-right: 1px solid #333;
            &:hover{
                color: #00eef3;
            }
            a{
                &:hover{
                    color: #00eef3;
                }
            }
        }

        .li {
            border-right: 0px;
        }
    }

    .pull-right {
        li {
            margin-left: 10px;
            
            a{
                text-decoration: none;
                color: #000;
                &:hover{
                    color: #00eef3;
                }
            }
            &:hover{
                color: #00eef3;
            }
        }

        .cart {
            margin-left: 30px;
        }
    }


    .pull-right {
        float: right;
    }

    .tap-bar {
        background-color: #f2f2f2;
    }

    .ns-text-color {
        color: #00eef3
    }

    //中间
    .middle {
        padding-top: 30px;
        height: 120px;
        width: 1200px;
        margin: 0 auto;

        a {
            width: 215px;
            height: 70px;
            line-height: 70px;
            float: left;
            display: inline-block;
            text-align: center;

            img {
                height: auto;
                width: auto;
                max-height: 100%;
                max-width: 100%;
                display: inline-block;
            }
        }

        //线下体验店动图
        img {
            line-height: 90px;
            float: left;
            margin-left: 30px;
            width: 270px;
            height: 70px;
        }

        //搜索框
        .search-right {
            width: 500px;
            margin-left: 80px;
            position: relative;
            margin-top: 10px;
            float: left;
            display: flex;

            input {
                background: #fff;
                border-color: #EBEBEB !important;
                color: #00d7dc;

                width: 445px;
                height: 40px;
                line-height: 40px;
                padding: 0 10px;
                padding-right: 200px;
                font-size: 14px;
                border: 2px solid;
            }

            .keyword {
                padding-top: 4px;
                overflow: hidden;
                width: auto;
                position: absolute;
                right: 60px;
                top: 3.5px;

                a {
                    width: 45px;
                    height: 30px;
                    line-height: 30px;
                    margin-right: 15px;
                    font-size: 12px;
                    color: #999;
                    background: #ebebeb;
                    padding: 0 5px;
                    text-decoration: none;
                }

            }

            button {
                color: #141414;
                background: #fff !important;
                float: left;
                width: 55px;
                height: 40px;
                margin-left: -2px;
                line-height: 40px;
                border: 2px solid #ebebeb !important;
                font-size: 16px;
                text-align: center;
                padding: 0;
                border: 0;

            }
        }



    }

    //下面
    .category {
        width: 80%;
        margin: auto;
        position: relative;
        height: 40px;
        line-height: 40px;

        .all {
            text-align: center;
            display: block;
            width: 210px;
            height: 40px;
            line-height: 40px;
            font-size: 16px;
            float: left;

            .iconfont {
                font-size: 28px;
            }

            span {
                vertical-align: middle;
            }

            .all-list {
                margin-top: -2px;
                display: block;
                background-color: #969696;
                opacity: 0.9;
                width: 210px;
                // margin-left: -31px;
                color: #fff;
                display: inline-block;
                position: relative;
                z-index: 999;
                display: none;

                li {
                    height: 40px;
                    list-style: none;

                    span {
                        float: left;
                        margin-left: 40px;
                    }

                    i {
                        float: right;
                        margin-right: 30px;
                        font-style: normal;
                    }

                    &:hover {
                        color: #000;
                        background-color: #00eef3;
                    }
                }

            }

        }

        .ns-bg-color {
            background-color: #00eef3;
        }

        //分类列表
        .ul-list {
            float: left;
            display: flex;

            li {
                margin-top: -2px;
                margin-left: 25px;
                list-style: none;
                border-bottom: 2px solid #fff;

                &:hover {
                    border-bottom: 2px solid #00d7dc;
                    color: #00d7dc;
                    
                }
            }
        }
    }

    //商品详情
    .count {
        width: 100%;
        margin: auto;
        height: 220px;
        position: absolute;
        top: 40px;
        left: 0px;
        text-align: center;
        background-color: #fff;
        display: none;
        z-index: 999;

        .box {
            width: 160px;

            float: left;

            img {
                width: 120px;
                height: 120px;
            }

            p {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }
    }


}

//渲染区域
.main{
    width: 100%;
    .main_wraper{
        width: 80%;
        margin: auto;
        
         .render_box{
            float: left;
            width: 23.5%;
            margin-right: 2%;
            margin-top: 20px;
            margin-bottom: 20px;
            background-color: #eeeeee;
            
            
            .container{
                // background-color: #ddd;
                margin: auto;
                width: 80%;
                margin-top: 20px;
                img{
                    width: 100%;
                    height: 100%;
                 
                }
                p{
                    font-size: 12px;
                    text-align: center;
                    padding-bottom: 10px;
                }
            }
            &:nth-of-type(4n){
                margin-right: 0px;
               
            }
        }
    }
}
// 底部
footer{
   
    background-color: #fff;
    .wraper{
        width: 80%;
        margin: auto;
        padding-top: 15px;
       .list-module{
            display: flex;
            border-bottom: 1px solid #b0b0b0;
            li{
                text-align: center;
                list-style: none;
                width: 25%;
                height: 56px;
                line-height: 56px;
                font-size: 18px;
              
                border-right: 1px solid #b0b0b0;
                &:nth-child(5){
                    border-right:0px;
                }
            }
            
        }
        .list-word{
            display: flex;
            li{
                list-style: none;
                width: 10%;
                text-align: left;
                p{
                    margin-top: 30px;
                    margin-bottom:  40px;
                    font-size: 16px;
                }
                div{
                    font-size: 12px;
                    height: 24px;
                    line-height: 24px;
                }
                img{
                    width: 70px;
                    height: 70px;
                }
            }
        }
    }
}
// 版权信息
.copyright-info{
    width: 100%;
    background-color: #fafafa !important;
    padding: 30px 0px;
    background-color: #fff;
    .info{
        width: 80%;
        margin: auto;
        .info-left{
            float: left;
            ul{
                display: flex;
                li{
                    width: 100px;
                    padding-right: 10px;
                    border-right: 1px solid #b0b0b0;
                    list-style: none;
                    font-size: 12px;
                    text-align: center;
                    line-height: 20px;
                }
                &:nth-child(5){
                    border-right: 0px;
                }
                
            }
            p{
                font-size: 12px;
                line-height: 30px;
            }
        }
        .info-right{
            float: right;
            img{
                width: 68px;
                height: 26px;
                margin-left: 30px;
                margin-top: 10px;
                &:nth-child(4){
                    width: 92px;
                }
            }
        }  
      
    }
}